prevention of respiratory failure